#!/usr/bin/env python
#coding=utf-8
# author:wade
# contact: 317909531@qq.com
# datetime:2020/3/28 11:04
from django.conf.urls import url
from schoolBook import views_schoolBook
from django.urls import path

"""
文件说明：
"""
appName = "schoolBook"

urlpatterns=[
    path('login/',views_schoolBook.Login.as_view()),
    # path('account/<int:pk>/',views.Account.as_view()),
    # path('type/',views.Types.as_view()),
    path('book/',views_schoolBook.Book.as_view()),
    path('getexcel/',views_schoolBook.GetExcel.as_view()),
]

'''
接口文档 
/schoolBook/book/ （POST）表示的是所有（上架的）的账户信息 0默认数据库第一个类型的内容, pk 是类型序号
/schoolBook/login/  （POST）获取所有（上架的）的类型信息
/schoolBook/getexcel/  （POST）获取所有（上架的）的类型信息
'''